const path = require("path");
const resolve = dir => path.resolve(__dirname, dir);

module.exports = {
  webpack: {
    alias: {
      '@': resolve("src")
    }
  },
  publicPath: process.env.NODE_ENV === 'production'
  ? '/dnf-music/'
  : '/'
}